package com.egao.orderB.service;

import com.egao.common.core.damon.results.PageResult2;
import com.egao.common.core.web.JsonResult;
import com.egao.common.system.entity.User;
import com.egao.orderB.entity.OceanCustomerPlan;
import org.apache.poi.ss.formula.functions.T;

/**
 * 海运客户计划服务类
 * @author : Doman
 * @date : 2021-11-10 16:32:48
 * @version ：1.0
 */
public interface OceanCustomerPlanService /*extends IService<OceanCustomerPlan>*/ {

  /**
	 * 分页查询
	 * @param page
	 * @param oceanCustomerPlan
	 * @return
	 */
	public JsonResult list(PageResult2<T> page, OceanCustomerPlan oceanCustomerPlan, User loginUser) throws Exception;

	/**
	 * 获取list
	 * @param oceanCustomerPlan
	 * @return
	 */
	public JsonResult list(OceanCustomerPlan oceanCustomerPlan, User loginUser);

	/**
	 * 获取list
	 * @param oceanCustomerPlan
	 * @return
	 */
	public JsonResult listOpen(OceanCustomerPlan oceanCustomerPlan, User loginUser);

	/**
	 * 根据Id查询
	 * @param oceanCustomerPlan
	 * @return
	 */
	public JsonResult getById(OceanCustomerPlan oceanCustomerPlan);

	/**
	 * 保存
	 * @param oceanCustomerPlan
	 * @param loginUser
	 * @return
	 */
	public JsonResult save(OceanCustomerPlan oceanCustomerPlan, User loginUser);

	/**
	 * 修改
	 * @param oceanCustomerPlan
	 * @param loginUser
	 * @return
	 */
	public JsonResult update(OceanCustomerPlan oceanCustomerPlan, User loginUser);

	/**
	 * 删除
	 * @param oceanCustomerPlan
	 * @param loginUser
	 * @return
	 */
	public JsonResult remove(OceanCustomerPlan oceanCustomerPlan, User loginUser);
	/**
	 * 删除
	 * @param oceanCustomerPlan
	 * @param loginUser
	 * @return
	 */
	public JsonResult cancel(OceanCustomerPlan oceanCustomerPlan, User loginUser);
}
